package lab02.test5;
public class Cube {
    private double long1;
    private double wide;
    double high;
    public Cube(){
    }

    public Cube(double long1, double wide, double high) {
        this.long1 = long1;
        this.wide = wide;
        this.high = high;
    }

    public double getLong1() {
        return long1;
    }

    public double getWide() {
        return wide;
    }

    public double getHigh() {
        return high;
    }

    public void setLong1(double long1) {
        this.long1 = long1;
    }

    public void setWide(double wide) {
        this.wide = wide;
    }

    public void setHigh(double high) {
        this.high = high;
    }
    void count(){
        double bluk;
        bluk=long1*high*wide;
        System.out.println("bluk is "+bluk);
    }
}
